<h2><a href="#">Web</a> &raquo; <a href="#" class="active">Listar web</a></h2>
<div id="main">
	<table cellpadding="0" cellspacing="0" id="list" class="tablesorter" style="margin-top : 10px;">
		<thead>
			<tr>
				<th style="width : 5%;"></th>
				<th>Autor</th>
				<th>Copyright</th>
				<th></th>
			</tr>	
		</thead>
		<tbody>
		<? $i = 0;?>
		<?if ( count($this->contents) == 0 ):?>
      	<tr></tr>
      	<?endif;?>
      	<?foreach( $this->contents as $u ):?>
      	<?
      	  if ( $i%2  == 1 )
      	  {
      		$class = "odd";
      	  } 
      	  else
      	  {
      		$class = "";
      	  }	
      	  $i++;
      	?>  
      <tr class="<?=$class ?>">
			<td><img style="vertical-align : middle;" src="/images/icons/page_white.png" /></td>
            <td ><a  href="#"><?=$u['author']?></a></td>
            <td ><a  href="#"><?=$u['copyright']?></a></td>
            <td class="action"><a title="Editar Web" href="/admin/web/editweb/id_web/<?=$u['id'] ?>" class="edit"><img src="/images/icons/pencil.png" style="vertical-align : middle;" alt="edit"  border=0 /></a></td>
        </tr>       
     <?endforeach?>                  
	</tbody>	                        
   </table>
</div>
<div class="clear"></div>
  